Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

node: add keyprint command #4185

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

pleasew8t
Copy link
Contributor

This PR adds a new keyprint command, which unmarshals a guardian-generated key file and prints out the private key as a hex string. With KMS incoming (along with other potential signing mechanisms) it might be desirable to reuse/import an existing key into the key management solution.

Usage: guardiand keyprint <path-to-keyfile>

@bruce-riley
Copy link
Contributor

Does this open a new security hole where anyone with access to a guardian box can print the private key?

@pleasew8t pleasew8t marked this pull request as draft December 13, 2024 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants